interface colors{
    red:string|number;
    green:object
}

function emits(color:colors):string{
    console.log(color.red,color.green);
    
    return '哈哈啊'
}
let cloths={red:1,green:{h:1}}

emits(cloths)

let sr:unknown="dff"
let srr=sr as string